# Dockerfile for apollo-configservice
# Build with:
# docker build -t apollo-configservice .
# Run with:
# docker run -p 8080:8080 -d --name apollo-configservice apollo-configservice
FROM java:8-jre
MAINTAINER LiuWei

ENV VERSION 0.11.0
ADD apollo-configservice-${VERSION}.jar /apollo-configservice/apollo-configservice-${VERSION}.jar

ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /apollo-configservice/apollo-configservice-${VERSION}.jar"]